{% extends 'cms/cms_base.html' %}
{% block title -%}
    前台用户管理
{%- endblock %}

{% block page_title -%}
    {{ self.title() }}
{%- endblock %}

{% block main_content -%}
    <table class="table table-bordered">
        <thead>
        <tr>
            <th>用户名</th>
            <th>邮箱</th>
            <th>手机号</th>
            <th>真实姓名</th>
            <th>性别</th>
            <th>注册时间</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>
        {% for fuser in fusers %}
            <tr>
                <td>{{ fuser.username }}</td>
                <td>{{ fuser.email or '暂无' }}</td>
                <td>{{ fuser.telephone}}</td>
                <td>{{ fuser.realname or '暂无' }}</td>
                <td>{{ fuser.gender.name }}</td>
                <td>{{ fuser.join_time}}</td>
                <td>
                    <button class="btn btn-default">暂无</button>
                </td>
            </tr>
        {% endfor %}
        </tbody>
    </table>
{%- endblock %}